Skip to content

Conversation

taslangraham
Copy link
Contributor

@taslangraham

This comment was marked as resolved.

@taslangraham taslangraham force-pushed the i11327-main branch 3 times, most recently from 2f3351f to 1f2de49 Compare August 14, 2025 20:49
@taslangraham taslangraham changed the title WIP: pkp/pkp-lib#11327 Implement public facing UI for user comments pkp/pkp-lib#11327 Implement public facing UI for user comments Aug 14, 2025
Copy link
Contributor

@ewhanson ewhanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @taslangraham. I'll let @jardakotesovec comment on anything specific about the Vue implementations, but it overall looks good to me. Just a few questions.

@@ -0,0 +1,108 @@
<template>
<PkpModalBody>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The close button isn't highlighting and being treated as a clickable element by the mouse. It's still keyboard navigable, but it's not receiving the typical visual feedback from the pointer.

Copy link
Contributor

@jardakotesovec jardakotesovec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To give you heads up. After we merge this version.. I will start gradually refining some of the components there.. and possibly reorganise things once I have good styling strategy settled. I would probably make these adjustments myself to see it in practice and just ask you for review. Lets see how that goes.

default: false,
},
/** Use when this button represents an action such as delete, go back, revert or cancel. */
isWarnable: Boolean,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will confirm this one with Devika.. maybe we can have just primary and secondary. Goal here will be again just have as least variants as possible.. so its easier to create styling across the themes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any updates on this?

Copy link
Contributor

@jardakotesovec jardakotesovec Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most likely we will be fine just using the primary&secondary styling. So lets stick with that for now. Primary would be used for delete button, and secondary for cancel.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

pageCount.value = pagination.value.pageCount;
showMoreCommentsCount.value =
showMoreCommentsCount.value - props.itemsPerPage;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.. useFetchPaginated was not really created for "show more".. its done for using pagination.. so there would be opportunity to abstract that better.. but I think this is fine.

@taslangraham taslangraham marked this pull request as ready for review August 20, 2025 15:50
@taslangraham taslangraham force-pushed the i11327-main branch 5 times, most recently from 67ae0c2 to 2b21f3f Compare August 22, 2025 13:29
@taslangraham
Copy link
Contributor Author

Thanks for the review @ewhanson & @jardakotesovec.

@jardakotesovec I've made update based on feedback given. Please take a look.

@taslangraham taslangraham force-pushed the i11327-main branch 2 times, most recently from 39adda2 to 4fc9ba7 Compare August 25, 2025 20:04
@taslangraham taslangraham merged commit b621db2 into pkp:main Aug 26, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants